import HeliUI from "heli-ui/dist/heli-ui.common";
import "heli-ui/dist/heli-ui.css";

Vue.use(HeliUI)
export default {
  title: "MyExample/Button2",
  component: HeliButton,
  argTypes: {
    type: {
      control: {
        type: 'select', options: ["warning", "success", "danger", "info", "primary"]
      }
    }
  }
}

const Template = (args, { argTypes }) => ({
  props: Object.keys(argTypes),
  components: { HeliButton },
  template: '<heli-button @onClick="onClick" v-bind="$props">当前按钮</heli-button>'
})

export const Primary = Template.bind({});
Primary.args = {
  type: "success"
}